import {get,post} from '../../utils/request' 
// import { DataInfo } from './type';

//获取列表信息
export const getList=(params:any):Promise<any> => get("member/list",params)
//批量删除
export const deleteAll=(ids:number[])=>post("member/deleteall",{ids})
// 单条删除
export const del=(id:number)=>get("member/delete",{id})
// //添加
// export const add=(data:DataInfo)=> post("userinfo/add",data)
// //获取用户类型
// export const getUserTypeList=():Promise<any> => get("userinfotype/list",{psize:100})